﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.EventAdvertising;

namespace FwProject.EventAdvertising.Dto
{
    /// <summary>
    /// 广告模型
    /// </summary>
    [AutoMap(typeof(ShopAdLocation))]
    public class ShopAdLocationDto: EntityDto<Guid>
    {
        /// <summary>
        /// 广告标题
        /// </summary>
        [Display(Name = "广告标题")]
        public string AdLocationTitle { get; set; }

        /// <summary>
        /// 广告高度
        /// </summary>
        [Display(Name = "广告高度")]
        public int AdHeight { get; set; }

        /// <summary>
        /// 广告宽度
        /// </summary>
        [Display(Name = "广告宽度")]
        public int AdWidht { get; set; }

        public AdTypeLocation AdTypeLocation { get; set; } = AdTypeLocation.首页banner;
    }
}
